windowmessage()

Description:

Open a message window.

Syntax:

Required syntax:


option = windowmessage( guidesign , font , title$ , text$ , button_1$ )

 

Optional syntax:

 

option = windowmessage( guidesign , font , title$ , text$ , button_1$ , [ button_2$] , [ button_3$] , [ pointer_image ], [ x ] , [ y ] , [ width ] , [ height ] )

 

 

Parameters:

Required parameters

Description

guidesign a handle to a previuosly created guidesign, used to control the apperance
font the font used in window
title$ a string used to display the title of the window
text$ a string used to display the text in the window
button_1$ text in first button
Optional parameters

Description

Default
button_2$ text in second button, "" = no button None or ""
button_3$ text in third button, "" = no button None or ""
x horizontal position of window, x=-1 ; window is centered horizontal -1
y vertical position of window, y=-1 ; window is centered vertical -1
width width, in pixels, of window, width=0; window is resized to match itīs contents 0
height height, in pixels, of window, height=0; window is resized to match itīs contents 0
pointer_image a handle to a previously created/loaded image used as a mouse pointer
= 0 : a cross is used
0

Returns:

either 0 , 1 or 2, depending on which button was pushed. If closebutton pushed, then the largest number allowed is returned

Example: